package com.objcat.servicea.service;

import com.objcat.servicea.entity.po.PowerPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.objcat.servicea.entity.po.RolePo;
import com.objcat.servicea.entity.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author misheep
 * @since 2020-07-27
 */
public interface PowerService extends IService<PowerPo> {
    /**
     * 获取权限
     */
    public List<PowerPo> getPower(RolePo rolePo);
    /**
     * 检测
     */
    public boolean checkPower(UserVo userVo);

}
